package com.xinghai.system.domain.dto;

import jdk.nashorn.internal.objects.annotations.Property;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 *  钉钉待办所需DTO
 *
 * @author tintuu
 * @date 2024-08-01
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class DingTalkTodoDTO
{
    private static final long serialVersionUID = 1L;

    /**
     * 业务id
     */
    @Property(name = "业务id")
    private Long sourceId;
    /**
     * 待办主题
     */
    @Property(name = "待办主题")
    private String subject;
    /**
     * 发起人的uid
     */
    @Property(name = "发起人的uid")
    private String createorId;
    /**
     * 待办描述
     */
    @Property(name = "待办描述")
    private String description;
    /**
     * 待办执行人
     */
    @Property(name = "待办执行人")
    private List<String> executorIds;
    /**
     * pc跳转地址
     */
    @Property(name = "pc跳转地址")
    private String pcUrl;
    /**
     * 紧急情况
     */
    @Property(name = "紧急情况" +
            " 10：较低\n" +
            "\n" +
            "20：普通\n" +
            "\n" +
            "30：紧急\n" +
            "\n" +
            "40：非常紧急")
    private Integer priority;
    /**
     * 待办通知配置
     */
    @Property(name = "待办通知配置，DING通知配置，目前仅支持取值为1，表示应用内DING。")
    private Integer dingNotify;
}
